package com.yanzhiyi.user.entity;
import java.util.List;

/**
 * FileName: StatusCode
 * Author:   xuan zongjun
 * Date:     2020/10/21 11:25
 * Description: 分页返回
 */



public class PageResult<T> {

    private Long total;//总记录数
    private List<T> rows;//记录

    public PageResult(Long total, List<T> rows) {
        this.total = total;
        this.rows = rows;
    }

    public PageResult() {
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }
}
